package com.yuebao.httpTest;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/test")
public class Test {
    
    @Resource
    ChatBotClient chatBotClient;
    
    @PostMapping("/chatbot")
    public void testChatBot(){
        chatBotClient.chat();
    }
}
